package cn.yuanqiao.cqbc.yqCarrierManage.mapper;


import cn.yuanqiao.cqbc.yqCarrierManage.domain.YqCarrierManage;
import org.apache.ibatis.annotations.Param;
import java.util.List;
import java.util.Map;

/**
 * <p>
 * 载体管理 Mapper 接口
 * </p>
 *
 * @author syd
 * @since 2022-11-17
 */
public interface YqCarrierManageMapper {

    /**
     * 获取列表
     *
     * @author lyk
     * @Date 2022-11-17
     */

    int add(YqCarrierManage paramCondition);

    int update(YqCarrierManage paramCondition);

    int delete(Long id);

    YqCarrierManage getById(Long id);

    List<YqCarrierManage> customList(@Param("paramCondition") YqCarrierManage paramCondition);

    /**
     * 获取map列表
     *
     * @author lyk
     * @Date 2022-11-17
     */
    List<Map<String, Object>> customMapList(@Param("paramCondition") YqCarrierManage paramCondition);

    /**
     * 获取分页实体列表
     *
     * @author lyk
     * @Date 2022-11-17
     */
    //Page<YqCarrierManageResult> customPageList(@Param("page") Page page, @Param("paramCondition") YqCarrierManageParam paramCondition);

    /**
     * 获取分页map列表
     *
     * @author lyk
     * @Date 2022-11-17
     */
    //Page<Map<String, Object>> customPageMapList(@Param("page") Page page, @Param("paramCondition") YqCarrierManageParam paramCondition);


    //List<ZTreeNode> carrierTreeList();

    int getNumByCode(@Param("code") String code,@Param("tenantCode") String tenantCode);
}
